FROM openjdk:11
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
#ENTRYPOINT ["java","-Xms1024m","-Xmx1024m","-Duser.timezone=GMT+8","-jar","/app.jar","--spring.profiles.active=server","-c"]